package top.mcwebsite.markdown.render

import androidx.compose.runtime.Composable
import top.mcwebsite.markdown.model.MarkdownNode

interface MarkdownListComponent : MarkdownComponent {

    @Composable
    override fun render(markdownNode: MarkdownNode) {
        render(markdownNode, 1)
    }

    @Composable
    fun render(markdownNode: MarkdownNode, level: Int)
}